package com.xingkeduo.pojo.table;

import com.xingkeduo.pojo.enums.ShareAimEnums;
import com.xingkeduo.pojo.enums.ShareFromEnums;
import com.xingkeduo.pojo.enums.ShareTypeEnums;
import com.xingkeduo.util.pojo.base.BaseTable;
import com.xingkeduo.util.pojo.enums.YesNoEnum;
import org.apache.ibatis.type.Alias;

/**
 * 分享日志表
 *
 * @Description:
 * @Author:gaozifeng
 * @Date 2019/7/10 11:01
 **/
@Alias("Share")
public class ShareTO extends BaseTable<ShareTO> {

    private long consumerId;

    private String orderNo;

    private Long craftsmanId;

    private Long shopId;

    private ShareTypeEnums shareType;

    private ShareAimEnums shareAim;

    private YesNoEnum shareStatus;

    private ShareFromEnums shareFrom;

    public Long getCraftsmanId() {
        return craftsmanId;
    }

    public ShareTO setCraftsmanId(Long craftsmanId) {
        this.craftsmanId = craftsmanId;
        return this;
    }

    public Long getShopId() {
        return shopId;
    }

    public ShareTO setShopId(Long shopId) {
        this.shopId = shopId;
        return this;
    }

    public long getConsumerId() {
        return consumerId;
    }

    public ShareTO setConsumerId(long consumerId) {
        this.consumerId = consumerId;
        return this;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public ShareTO setOrderNo(String orderNo) {
        this.orderNo = orderNo;
        return this;
    }

    public ShareTypeEnums getShareType() {
        return shareType;
    }

    public ShareTO setShareType(ShareTypeEnums shareType) {
        this.shareType = shareType;
        return this;
    }

    public ShareAimEnums getShareAim() {
        return shareAim;
    }

    public ShareTO setShareAim(ShareAimEnums shareAim) {
        this.shareAim = shareAim;
        return this;
    }

    public YesNoEnum getShareStatus() {
        return shareStatus;
    }

    public ShareTO setShareStatus(YesNoEnum shareStatus) {
        this.shareStatus = shareStatus;
        return this;
    }

    public ShareFromEnums getShareFrom() {
        return shareFrom;
    }

    public ShareTO setShareFrom(ShareFromEnums shareFrom) {
        this.shareFrom = shareFrom;
        return this;
    }
}
